/**
 * ACAdatapter - Constant source of power supply.
 * CS575 Software Design
 * Group 6
 * Group Members: Anthony Davidson, Kendra Scheesley, Lyndsey Whitman, Stephen Zakrewsky
 * Date: May 19, 2012
 * Main Author(s): Kendra Scheesley
 */

package edu.drexel.cs575.a3;

public class ACAdapter implements PowerUnit {
	private boolean powerOn;
	
	public ACAdapter() {
		powerOn=false;
	}
	
	@Override
	public void setPowerOn(boolean on){
		powerOn=on;
	}
	
	@Override
	public boolean isPowerOn(){
		return powerOn;
	}
}
